package com.expert.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.expert.dto.TitleDTO;
import com.expert.pojo.Title;
import com.expert.vo.TitleVo;

import java.util.List;

/**
 * @ClassName: ExpertService
 * @Author: cxs
 * @Date: 2024/03/14 13:07
 * @Description:
 **/
public interface TitleService extends IService<Title> {
    /**
     * 分页查询职称
     * @param page
     * @param pageSize
     * @param titleName
     * @param titleLevel
     * @return
     */
    Page<TitleVo> pageTitle(Integer page, Integer pageSize, String titleName, Integer titleLevel);

    void addTitle(TitleDTO title);

    void deleteTitles(List<Long> ids);
}
